package com.jzo2o.orders.manager.strategy;

import lombok.extern.slf4j.Slf4j;

import java.math.BigDecimal;

/**
 * @author Mr.M
 * @version 1.0
 * @description TODO
 * @date 2023/12/29 12:00
 */
@Slf4j
public class WeixinPayment implements PaymentStrategy {

    //微信账号
    private String account;
    public WeixinPayment(String account){
        this.account = account;
    }

    @Override
    public void pay(BigDecimal amount) {
        log.info("微信{}支付{}",account,amount);
    }
}
